﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SIGERP_Negocio;

namespace SIGERP_Presentacion
{
    public partial class frmTipoReclamoAgregar : Form
    {
        public frmTipoReclamoAgregar()
        {
            InitializeComponent();
        }

        private void frmTipoReclamoAgregar_Load(object sender, EventArgs e)
        {

        }

        private void picTitulo_Click(object sender, EventArgs e)
        {

        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {

        }

        private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void toolStripStatusLabel1_Click(object sender, EventArgs e)
        {

        }



        private void label1_Click_1(object sender, EventArgs e)
        {

        }

        private void btnGuardar_Click(object sender, EventArgs e)
        {
            SIGERP_Negocio.TiposReclamo tiposReclamo = new SIGERP_Negocio.TiposReclamo();
            SIGERP_Entidades.TipoReclamo tipoReclamo = new SIGERP_Entidades.TipoReclamo();
            // El id se lo asigna el db
            //pais.ID = Convert.ToInt32(99); 
            tipoReclamo.DescTipoReclamo = txtTipoReclamo.Text;
            TiposReclamo.Agregar(tipoReclamo);
            Close();
        }

        private void btnCancelar_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
